<template>
  <n-result
      status="403"
      title="403 禁止访问"
      description="总有些门是对你关闭的"
  >
    <template #footer>
      <n-button @click="toPage()">放轻松</n-button>
    </template>
  </n-result>
</template>

<script setup>
import {inject} from 'vue'
const {toPage} = inject('toPage')
</script>

<style scoped>

</style>